<ul class="nav nav-tabs">
<li <?php if (get ( 'm' ) == 'weixin' && get ( 'a' ) == 'default'): ?> class="active"<?php endif; ?>><a href="<?php echo $this->_var['appadmin']; ?>?m=weixin">微信管理</a></li>
<li <?php if (get ( 'm' ) == 'weixin' && get ( 'a' ) == 'add'): ?> class="active"<?php endif; ?>><a href="<?php echo $this->_var['appadmin']; ?>?m=weixin&a=add">微信添加</a></li>
<li <?php if (get ( 'm' ) == 'weixin_command' && get ( 'a' ) == 'default'): ?> class="active"<?php endif; ?>><a href="<?php echo $this->_var['appadmin']; ?>?m=weixin_command">微信命令管理</a></li>
<li <?php if (get ( 'm' ) == 'weixin_command' && get ( 'a' ) == 'add'): ?> class="active"<?php endif; ?>><a href="<?php echo $this->_var['appadmin']; ?>?m=weixin_command&a=add">微信命令添加</a></li>
<li  <?php if (get ( 'm' ) == 'weixin_user'): ?> class="active"<?php endif; ?>><a href="<?php echo $this->_var['appadmin']; ?>?m=weixin_user">微信用户</a></li>
<li <?php if (get ( 'm' ) == 'weixin_reply'): ?> class="active"<?php endif; ?>><a href="<?php echo $this->_var['appadmin']; ?>?m=weixin_reply">微信回复</a></li>
</ul>